package com.cumt.threeway.activity;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.widget.TextView;

import com.cumt.threeway.R;

/**
 * Created by 胡晶晶 on 2016/5/25.
 */
public class AboutUsActivity extends FragmentActivity implements View.OnClickListener{

    private TextView mTextViewAboutUs;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about_us_activity);
        initView();
    }

    private void initView() {
        findViewById(R.id.btn_back).setOnClickListener(this);
        mTextViewAboutUs = (TextView) findViewById(R.id.tv_content);
        mTextViewAboutUs.setText("\u3000\u3000" + getResources().getString(R.string.about_us_info));
    }

    @Override
    public void onClick(View v) {
        if(v == null) {
            return;
        }
        switch (v.getId()) {
            case R.id.btn_back:
                finish();
                break;
        }
    }
}
